<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel common\models\CategorySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '导航';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="category-index">

    <?=$this->render('_tab_menu')?>
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'id',
            'xa_parent_id',
            'xa_name',
            'xa_url:url',
            'xa_state',
            // 'xa_status',
            // 'xa_create_time',
            // 'xa_update_time',
            // 'xa_remark',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
</div>
